<?php

namespace App\VO\WechantPayment\MetaInfo;

class PayInfo
{
    /**
     * @var string
     */
    public $appId;

    /**
     * @var string
     */
    public $timeStamp;

    /**
     * 随机串
     * @var string
     */
    public $nonceStr;

    /**
     * @var string
     */
    public $package;

    /**
     * 签名方式
     * @var string
     */
    public $signType = 'MD5';

    /**
     * @var string
     */
    public $paySign;

    /**
     * @param string $appId
     */
    public function setAppId(string $appId): void
    {
        $this->appId = $appId;
    }

    /**
     * @return string
     */
    public function getAppId(): string
    {
        return $this->appId;
    }

    /**
     * @param string $nonceStr
     */
    public function setNonceStr(string $nonceStr): void
    {
        $this->nonceStr = $nonceStr;
    }

    /**
     * @return string
     */
    public function getNonceStr(): string
    {
        return $this->nonceStr;
    }

    /**
     * @param string $package
     */
    public function setPackage(string $package): void
    {
        $this->package = $package;
    }

    /**
     * @return string
     */
    public function getPackage(): string
    {
        return $this->package;
    }

    /**
     * @param string $paySign
     */
    public function setPaySign(string $paySign): void
    {
        $this->paySign = $paySign;
    }

    /**
     * @param string $timeStamp
     */
    public function setTimeStamp(string $timeStamp): void
    {
        $this->timeStamp = $timeStamp;
    }

    /**
     * @return string
     */
    public function getTimeStamp(): string
    {
        return $this->timeStamp;
    }

}
